package com.clockey.server.util.message;

import com.cloopen.rest.sdk.CCPRestSmsSDK;

public class MessageUtil {

	public static CCPRestSmsSDK getSender(){
//		String serverIp = "sandboxapp.cloopen.com";
//		String serverPort = "8883";
//		String accountSid = "8a48b551506fd26f01509819187f76d2";
//		String accountToken = "4fa6e22f65a342148b897bf0e63be150";
//		String appId = "8a48b551506fd26f01509819559276d4";
		//获取验证码线上
		String serverIp = "app.cloopen.com";
		String serverPort = "8883";
		String accountSid = "8a48b5515099b1880150a3383aac1b60";
		String accountToken = "8fb6406c6a474575878fe91ac2b04429";
		String appId = "aaf98f8951f73625015207fd55d019f4";
		
		CCPRestSmsSDK restAPI = new CCPRestSmsSDK();
		restAPI.init(serverIp, serverPort);
		restAPI.setAccount(accountSid, accountToken);
		restAPI.setAppId(appId);
		return restAPI;
	}
}
